<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta charset="UTF-8">
<title>四川盛世鹏辉建设项目管理有限公司</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/top.css">
<link rel="stylesheet"
	href="framework/bootstrap-3.0.0/css/bootstrap.css">
<link rel="stylesheet"
	href="framework/bootstrap-3.0.0/css/bootstrap-theme.css">
<style>
#div1 {
	background: url("image/intr2.png");
	width: 135px;
	height: 55px;
}

#div1.hover {
	background: url("image/intr.png");
	width: 140px;
	height: 55px;
}

#div2 {
	background: url("image/ry.png");
	width: 135px;
	height: 55px;
}

#div2.hover {
	background: url("image/ry2.png");
	width: 140px;
	height: 55px;
}

a {
	text-decoration: none;
	color: black;
}

div {
	font-family: 微软雅黑;
	font-size: 14px;
}
</style>
<script>
	window.onload = function() {
		var oDiv1 = document.getElementById("div1");
		var oDiv2 = document.getElementById("div2");
		oDiv1.onmouseover = function() {
			oDiv1.className = "hover"
		};
		oDiv1.onmouseout = function() {
			oDiv1.className = ""
		}
		oDiv2.onmouseover = function() {
			oDiv2.className = "hover"
		};
		oDiv2.onmouseout = function() {
			oDiv2.className = ""
		}
	};
</script>
</head>
<body>
	<img src="image/log.png"
		style="height: 70px; width: 50px; z-index: 1; position: absolute; left: 10%;top:10px;" />
	<div style="top: 0px;"><jsp:include page="top.jsp"></jsp:include></div>
	<div>
		<img src="image/20.png" width="100%" />
	</div>
	<span style="margin-left: 7%;"> <a href="showfactive.do">
			首页</a> ><a href="front/companyIntroduce.jsp">集团介绍</a><br> <br>
	</span>
	<div class="col-md-12" style="height: auto; margin-bottom: 10px;">

		<div class="col-md-3">

			<div style="padding-left: 55%;" id="test">
				<a href="front/companyIntroduce.jsp"><div id="div1"></div>
				</a>
			</div>
			<div style="padding-left: 55%;" id="test2">
				<div id="div2"></div>
			</div>
		</div>
		<div class="col-md-9">
			<div id="testDiv"
				style="border: 1px solid grey; display: none; margin-right: 20%;filter:alpha(opacity=50)">
				<div style="margin-left: 10%; margin-right: 10%; margin-top: 5%;">
					</div>
			</div>
			<div id="testDiv2"
				style="border: 1px solid grey; display: block; margin-right: 20%; margin-bottom: 10%;filter:alpha(opacity=50)">
				<div style="margin-left: 10%; margin-right: 10%; margin-top: 5%;">
					<div style="font-size: 16px;color:blue;">荣誉资质</div><hr>
					<table width="100%">
						<tbody>
							<c:forEach items="${show}" var="pic" varStatus="cou">
								<c:if test="${cou.count eq 1 || (cou.count-1) % 3 eq 0}">
									<tr>
								</c:if>

								<td>
									<table width="33%">
										<tr>
											<td><img src="${pic.img}" style="width: 100px;" /></td>
										</tr>
									</table></td>
								<c:if test="${cou.count % 3 eq 0 || cou.count eq 3}">
									</tr>
								</c:if>
							</c:forEach>
						</tbody>
					</table>

				</div>
			</div>
		</div>
	</div>
	<div style="bottom: 0px;"><jsp:include page="bottom.jsp"></jsp:include></div>
</body>
<script type="text/javascript">
	document.getElementById("test2").onclick = function() {
		document.getElementById("testDiv2").style.display = "block";
		document.getElementById("testDiv").style.display = "none";
	}
	document.getElementById("test").onclick = function() {
		document.getElementById("testDiv").style.display = "block";
		document.getElementById("testDiv2").style.display = "none";
	}
</script>
</html>